package com.wx;

public class CommonUtils {

    public static void printArr(int[] arr) {
        if (arr.length == 0) {
            System.out.println("empty");
            return;
        }
        System.out.print("{");
        for (int temp : arr) {
            System.out.print(temp + ",");
        }
        System.out.println("}");
    }

    public static void printStr(String str) {
        System.out.println(str);
    }

    public static void printInt(int str) {
        System.out.println(str);
    }
}
